package com.springsecurity.demo.service.impl;


import com.springsecurity.demo.mapper.SysMenuMapper;
import com.springsecurity.demo.model.entity.SysMenu;
import com.springsecurity.demo.service.ISysMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 菜单表 服务实现类
 * </p>
 *
 * @author fredyc
 * @since 2024-09-18
 */
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements ISysMenuService {

    @Override
    public List<String> getMenuInfoByOneUserId(Long userid) {
        return super.baseMapper.getMenuInfoByOneUserId(userid);
    }
}
